package com.ecoolex.discount.sales.entity;

import com.ecoolex.framework.common.annotation.Description;
import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;
import org.springframework.lang.NonNull;

public class PaymentOrderRecordExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    protected Integer offset;

    protected Integer rows;

    public PaymentOrderRecordExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public PaymentOrderRecordExample orderBy(String orderByClause) {
        this.setOrderByClause(orderByClause);
        return this;
    }

    public PaymentOrderRecordExample orderBy(String ... orderByClauses) {
        StringBuffer sb = new StringBuffer();
        for (int i = 0; i < orderByClauses.length; i++) {
            sb.append(orderByClauses[i]);
            if (i < orderByClauses.length - 1) {
                sb.append(" , ");
            }
        }
        this.setOrderByClause(sb.toString());
        return this;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria(this);
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
        rows = null;
        offset = null;
    }

    public static Criteria newAndCreateCriteria() {
        PaymentOrderRecordExample example = new PaymentOrderRecordExample();
        return example.createCriteria();
    }

    public PaymentOrderRecordExample when(boolean condition, IExampleWhen then) {
        if (condition) {
            then.example(this);
        }
        return this;
    }

    public PaymentOrderRecordExample when(boolean condition, IExampleWhen then, IExampleWhen otherwise) {
        if (condition) {
            then.example(this);
        } else {
            otherwise.example(this);
        }
        return this;
    }

    public void setOffset(Integer offset) {
        this.offset = offset;
    }

    public Integer getOffset() {
        return this.offset;
    }

    public void setRows(Integer rows) {
        this.rows = rows;
    }

    public Integer getRows() {
        return this.rows;
    }

    public PaymentOrderRecordExample limit(Integer rows) {
        this.rows = rows;
        return this;
    }

    public PaymentOrderRecordExample limit(Integer offset, Integer rows) {
        this.offset = offset;
        this.rows = rows;
        return this;
    }

    public PaymentOrderRecordExample page(Integer page, Integer pageSize) {
        this.offset = page * pageSize;
        this.rows = pageSize;
        return this;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("paymentorderrecord.Id is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("paymentorderrecord.Id is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(Integer value) {
            addCriterion("paymentorderrecord.Id =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Id = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(Integer value) {
            addCriterion("paymentorderrecord.Id <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Id <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(Integer value) {
            addCriterion("paymentorderrecord.Id >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Id > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("paymentorderrecord.Id >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Id >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThan(Integer value) {
            addCriterion("paymentorderrecord.Id <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Id < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(Integer value) {
            addCriterion("paymentorderrecord.Id <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Id <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andIdIn(List<Integer> values) {
            addCriterion("paymentorderrecord.Id in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<Integer> values) {
            addCriterion("paymentorderrecord.Id not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(Integer value1, Integer value2) {
            addCriterion("paymentorderrecord.Id between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(Integer value1, Integer value2) {
            addCriterion("paymentorderrecord.Id not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdIsNull() {
            addCriterion("paymentorderrecord.PaymentOrderId is null");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdIsNotNull() {
            addCriterion("paymentorderrecord.PaymentOrderId is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdEqualTo(Integer value) {
            addCriterion("paymentorderrecord.PaymentOrderId =", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentOrderId = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdNotEqualTo(Integer value) {
            addCriterion("paymentorderrecord.PaymentOrderId <>", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentOrderId <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdGreaterThan(Integer value) {
            addCriterion("paymentorderrecord.PaymentOrderId >", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentOrderId > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdGreaterThanOrEqualTo(Integer value) {
            addCriterion("paymentorderrecord.PaymentOrderId >=", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentOrderId >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdLessThan(Integer value) {
            addCriterion("paymentorderrecord.PaymentOrderId <", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentOrderId < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdLessThanOrEqualTo(Integer value) {
            addCriterion("paymentorderrecord.PaymentOrderId <=", value, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentOrderId <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdIn(List<Integer> values) {
            addCriterion("paymentorderrecord.PaymentOrderId in", values, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdNotIn(List<Integer> values) {
            addCriterion("paymentorderrecord.PaymentOrderId not in", values, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdBetween(Integer value1, Integer value2) {
            addCriterion("paymentorderrecord.PaymentOrderId between", value1, value2, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentOrderIdNotBetween(Integer value1, Integer value2) {
            addCriterion("paymentorderrecord.PaymentOrderId not between", value1, value2, "paymentOrderId");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIsNull() {
            addCriterion("paymentorderrecord.PaymentType is null");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIsNotNull() {
            addCriterion("paymentorderrecord.PaymentType is not null");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeEqualTo(String value) {
            addCriterion("paymentorderrecord.PaymentType =", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentType = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotEqualTo(String value) {
            addCriterion("paymentorderrecord.PaymentType <>", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentType <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThan(String value) {
            addCriterion("paymentorderrecord.PaymentType >", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentType > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.PaymentType >=", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentType >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThan(String value) {
            addCriterion("paymentorderrecord.PaymentType <", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentType < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.PaymentType <=", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.PaymentType <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andPaymentTypeLike(String value) {
            addCriterion("paymentorderrecord.PaymentType like", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotLike(String value) {
            addCriterion("paymentorderrecord.PaymentType not like", value, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeIn(List<String> values) {
            addCriterion("paymentorderrecord.PaymentType in", values, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotIn(List<String> values) {
            addCriterion("paymentorderrecord.PaymentType not in", values, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.PaymentType between", value1, value2, "paymentType");
            return (Criteria) this;
        }

        public Criteria andPaymentTypeNotBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.PaymentType not between", value1, value2, "paymentType");
            return (Criteria) this;
        }

        public Criteria andOperTypeIsNull() {
            addCriterion("paymentorderrecord.OperType is null");
            return (Criteria) this;
        }

        public Criteria andOperTypeIsNotNull() {
            addCriterion("paymentorderrecord.OperType is not null");
            return (Criteria) this;
        }

        public Criteria andOperTypeEqualTo(Integer value) {
            addCriterion("paymentorderrecord.OperType =", value, "operType");
            return (Criteria) this;
        }

        public Criteria andOperTypeEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.OperType = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperTypeNotEqualTo(Integer value) {
            addCriterion("paymentorderrecord.OperType <>", value, "operType");
            return (Criteria) this;
        }

        public Criteria andOperTypeNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.OperType <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperTypeGreaterThan(Integer value) {
            addCriterion("paymentorderrecord.OperType >", value, "operType");
            return (Criteria) this;
        }

        public Criteria andOperTypeGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.OperType > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperTypeGreaterThanOrEqualTo(Integer value) {
            addCriterion("paymentorderrecord.OperType >=", value, "operType");
            return (Criteria) this;
        }

        public Criteria andOperTypeGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.OperType >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperTypeLessThan(Integer value) {
            addCriterion("paymentorderrecord.OperType <", value, "operType");
            return (Criteria) this;
        }

        public Criteria andOperTypeLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.OperType < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperTypeLessThanOrEqualTo(Integer value) {
            addCriterion("paymentorderrecord.OperType <=", value, "operType");
            return (Criteria) this;
        }

        public Criteria andOperTypeLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.OperType <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andOperTypeIn(List<Integer> values) {
            addCriterion("paymentorderrecord.OperType in", values, "operType");
            return (Criteria) this;
        }

        public Criteria andOperTypeNotIn(List<Integer> values) {
            addCriterion("paymentorderrecord.OperType not in", values, "operType");
            return (Criteria) this;
        }

        public Criteria andOperTypeBetween(Integer value1, Integer value2) {
            addCriterion("paymentorderrecord.OperType between", value1, value2, "operType");
            return (Criteria) this;
        }

        public Criteria andOperTypeNotBetween(Integer value1, Integer value2) {
            addCriterion("paymentorderrecord.OperType not between", value1, value2, "operType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeIsNull() {
            addCriterion("paymentorderrecord.CurrencyType is null");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeIsNotNull() {
            addCriterion("paymentorderrecord.CurrencyType is not null");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeEqualTo(String value) {
            addCriterion("paymentorderrecord.CurrencyType =", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CurrencyType = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotEqualTo(String value) {
            addCriterion("paymentorderrecord.CurrencyType <>", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CurrencyType <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeGreaterThan(String value) {
            addCriterion("paymentorderrecord.CurrencyType >", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CurrencyType > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.CurrencyType >=", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CurrencyType >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLessThan(String value) {
            addCriterion("paymentorderrecord.CurrencyType <", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CurrencyType < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLessThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.CurrencyType <=", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CurrencyType <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeLike(String value) {
            addCriterion("paymentorderrecord.CurrencyType like", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotLike(String value) {
            addCriterion("paymentorderrecord.CurrencyType not like", value, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeIn(List<String> values) {
            addCriterion("paymentorderrecord.CurrencyType in", values, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotIn(List<String> values) {
            addCriterion("paymentorderrecord.CurrencyType not in", values, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.CurrencyType between", value1, value2, "currencyType");
            return (Criteria) this;
        }

        public Criteria andCurrencyTypeNotBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.CurrencyType not between", value1, value2, "currencyType");
            return (Criteria) this;
        }

        public Criteria andTransAmountIsNull() {
            addCriterion("paymentorderrecord.TransAmount is null");
            return (Criteria) this;
        }

        public Criteria andTransAmountIsNotNull() {
            addCriterion("paymentorderrecord.TransAmount is not null");
            return (Criteria) this;
        }

        public Criteria andTransAmountEqualTo(BigDecimal value) {
            addCriterion("paymentorderrecord.TransAmount =", value, "transAmount");
            return (Criteria) this;
        }

        public Criteria andTransAmountEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransAmount = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransAmountNotEqualTo(BigDecimal value) {
            addCriterion("paymentorderrecord.TransAmount <>", value, "transAmount");
            return (Criteria) this;
        }

        public Criteria andTransAmountNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransAmount <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransAmountGreaterThan(BigDecimal value) {
            addCriterion("paymentorderrecord.TransAmount >", value, "transAmount");
            return (Criteria) this;
        }

        public Criteria andTransAmountGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransAmount > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("paymentorderrecord.TransAmount >=", value, "transAmount");
            return (Criteria) this;
        }

        public Criteria andTransAmountGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransAmount >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransAmountLessThan(BigDecimal value) {
            addCriterion("paymentorderrecord.TransAmount <", value, "transAmount");
            return (Criteria) this;
        }

        public Criteria andTransAmountLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransAmount < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("paymentorderrecord.TransAmount <=", value, "transAmount");
            return (Criteria) this;
        }

        public Criteria andTransAmountLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransAmount <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransAmountIn(List<BigDecimal> values) {
            addCriterion("paymentorderrecord.TransAmount in", values, "transAmount");
            return (Criteria) this;
        }

        public Criteria andTransAmountNotIn(List<BigDecimal> values) {
            addCriterion("paymentorderrecord.TransAmount not in", values, "transAmount");
            return (Criteria) this;
        }

        public Criteria andTransAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymentorderrecord.TransAmount between", value1, value2, "transAmount");
            return (Criteria) this;
        }

        public Criteria andTransAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymentorderrecord.TransAmount not between", value1, value2, "transAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountIsNull() {
            addCriterion("paymentorderrecord.RmbAmount is null");
            return (Criteria) this;
        }

        public Criteria andRmbAmountIsNotNull() {
            addCriterion("paymentorderrecord.RmbAmount is not null");
            return (Criteria) this;
        }

        public Criteria andRmbAmountEqualTo(BigDecimal value) {
            addCriterion("paymentorderrecord.RmbAmount =", value, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.RmbAmount = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRmbAmountNotEqualTo(BigDecimal value) {
            addCriterion("paymentorderrecord.RmbAmount <>", value, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.RmbAmount <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRmbAmountGreaterThan(BigDecimal value) {
            addCriterion("paymentorderrecord.RmbAmount >", value, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.RmbAmount > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRmbAmountGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("paymentorderrecord.RmbAmount >=", value, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.RmbAmount >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRmbAmountLessThan(BigDecimal value) {
            addCriterion("paymentorderrecord.RmbAmount <", value, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.RmbAmount < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRmbAmountLessThanOrEqualTo(BigDecimal value) {
            addCriterion("paymentorderrecord.RmbAmount <=", value, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.RmbAmount <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRmbAmountIn(List<BigDecimal> values) {
            addCriterion("paymentorderrecord.RmbAmount in", values, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountNotIn(List<BigDecimal> values) {
            addCriterion("paymentorderrecord.RmbAmount not in", values, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymentorderrecord.RmbAmount between", value1, value2, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andRmbAmountNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("paymentorderrecord.RmbAmount not between", value1, value2, "rmbAmount");
            return (Criteria) this;
        }

        public Criteria andTransNoIsNull() {
            addCriterion("paymentorderrecord.TransNo is null");
            return (Criteria) this;
        }

        public Criteria andTransNoIsNotNull() {
            addCriterion("paymentorderrecord.TransNo is not null");
            return (Criteria) this;
        }

        public Criteria andTransNoEqualTo(String value) {
            addCriterion("paymentorderrecord.TransNo =", value, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransNo = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransNoNotEqualTo(String value) {
            addCriterion("paymentorderrecord.TransNo <>", value, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransNo <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransNoGreaterThan(String value) {
            addCriterion("paymentorderrecord.TransNo >", value, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransNo > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransNoGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.TransNo >=", value, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransNo >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransNoLessThan(String value) {
            addCriterion("paymentorderrecord.TransNo <", value, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransNo < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransNoLessThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.TransNo <=", value, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransNo <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransNoLike(String value) {
            addCriterion("paymentorderrecord.TransNo like", value, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoNotLike(String value) {
            addCriterion("paymentorderrecord.TransNo not like", value, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoIn(List<String> values) {
            addCriterion("paymentorderrecord.TransNo in", values, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoNotIn(List<String> values) {
            addCriterion("paymentorderrecord.TransNo not in", values, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.TransNo between", value1, value2, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransNoNotBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.TransNo not between", value1, value2, "transNo");
            return (Criteria) this;
        }

        public Criteria andTransTimeIsNull() {
            addCriterion("paymentorderrecord.TransTime is null");
            return (Criteria) this;
        }

        public Criteria andTransTimeIsNotNull() {
            addCriterion("paymentorderrecord.TransTime is not null");
            return (Criteria) this;
        }

        public Criteria andTransTimeEqualTo(Date value) {
            addCriterion("paymentorderrecord.TransTime =", value, "transTime");
            return (Criteria) this;
        }

        public Criteria andTransTimeEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransTimeNotEqualTo(Date value) {
            addCriterion("paymentorderrecord.TransTime <>", value, "transTime");
            return (Criteria) this;
        }

        public Criteria andTransTimeNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransTimeGreaterThan(Date value) {
            addCriterion("paymentorderrecord.TransTime >", value, "transTime");
            return (Criteria) this;
        }

        public Criteria andTransTimeGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymentorderrecord.TransTime >=", value, "transTime");
            return (Criteria) this;
        }

        public Criteria andTransTimeGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransTimeLessThan(Date value) {
            addCriterion("paymentorderrecord.TransTime <", value, "transTime");
            return (Criteria) this;
        }

        public Criteria andTransTimeLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransTimeLessThanOrEqualTo(Date value) {
            addCriterion("paymentorderrecord.TransTime <=", value, "transTime");
            return (Criteria) this;
        }

        public Criteria andTransTimeLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.TransTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andTransTimeIn(List<Date> values) {
            addCriterion("paymentorderrecord.TransTime in", values, "transTime");
            return (Criteria) this;
        }

        public Criteria andTransTimeNotIn(List<Date> values) {
            addCriterion("paymentorderrecord.TransTime not in", values, "transTime");
            return (Criteria) this;
        }

        public Criteria andTransTimeBetween(Date value1, Date value2) {
            addCriterion("paymentorderrecord.TransTime between", value1, value2, "transTime");
            return (Criteria) this;
        }

        public Criteria andTransTimeNotBetween(Date value1, Date value2) {
            addCriterion("paymentorderrecord.TransTime not between", value1, value2, "transTime");
            return (Criteria) this;
        }

        public Criteria andRequestIsNull() {
            addCriterion("paymentorderrecord.Request is null");
            return (Criteria) this;
        }

        public Criteria andRequestIsNotNull() {
            addCriterion("paymentorderrecord.Request is not null");
            return (Criteria) this;
        }

        public Criteria andRequestEqualTo(String value) {
            addCriterion("paymentorderrecord.Request =", value, "request");
            return (Criteria) this;
        }

        public Criteria andRequestEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Request = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRequestNotEqualTo(String value) {
            addCriterion("paymentorderrecord.Request <>", value, "request");
            return (Criteria) this;
        }

        public Criteria andRequestNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Request <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRequestGreaterThan(String value) {
            addCriterion("paymentorderrecord.Request >", value, "request");
            return (Criteria) this;
        }

        public Criteria andRequestGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Request > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRequestGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.Request >=", value, "request");
            return (Criteria) this;
        }

        public Criteria andRequestGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Request >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRequestLessThan(String value) {
            addCriterion("paymentorderrecord.Request <", value, "request");
            return (Criteria) this;
        }

        public Criteria andRequestLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Request < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRequestLessThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.Request <=", value, "request");
            return (Criteria) this;
        }

        public Criteria andRequestLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Request <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andRequestLike(String value) {
            addCriterion("paymentorderrecord.Request like", value, "request");
            return (Criteria) this;
        }

        public Criteria andRequestNotLike(String value) {
            addCriterion("paymentorderrecord.Request not like", value, "request");
            return (Criteria) this;
        }

        public Criteria andRequestIn(List<String> values) {
            addCriterion("paymentorderrecord.Request in", values, "request");
            return (Criteria) this;
        }

        public Criteria andRequestNotIn(List<String> values) {
            addCriterion("paymentorderrecord.Request not in", values, "request");
            return (Criteria) this;
        }

        public Criteria andRequestBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.Request between", value1, value2, "request");
            return (Criteria) this;
        }

        public Criteria andRequestNotBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.Request not between", value1, value2, "request");
            return (Criteria) this;
        }

        public Criteria andResponseIsNull() {
            addCriterion("paymentorderrecord.Response is null");
            return (Criteria) this;
        }

        public Criteria andResponseIsNotNull() {
            addCriterion("paymentorderrecord.Response is not null");
            return (Criteria) this;
        }

        public Criteria andResponseEqualTo(String value) {
            addCriterion("paymentorderrecord.Response =", value, "response");
            return (Criteria) this;
        }

        public Criteria andResponseEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Response = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResponseNotEqualTo(String value) {
            addCriterion("paymentorderrecord.Response <>", value, "response");
            return (Criteria) this;
        }

        public Criteria andResponseNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Response <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResponseGreaterThan(String value) {
            addCriterion("paymentorderrecord.Response >", value, "response");
            return (Criteria) this;
        }

        public Criteria andResponseGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Response > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResponseGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.Response >=", value, "response");
            return (Criteria) this;
        }

        public Criteria andResponseGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Response >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResponseLessThan(String value) {
            addCriterion("paymentorderrecord.Response <", value, "response");
            return (Criteria) this;
        }

        public Criteria andResponseLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Response < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResponseLessThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.Response <=", value, "response");
            return (Criteria) this;
        }

        public Criteria andResponseLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Response <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResponseLike(String value) {
            addCriterion("paymentorderrecord.Response like", value, "response");
            return (Criteria) this;
        }

        public Criteria andResponseNotLike(String value) {
            addCriterion("paymentorderrecord.Response not like", value, "response");
            return (Criteria) this;
        }

        public Criteria andResponseIn(List<String> values) {
            addCriterion("paymentorderrecord.Response in", values, "response");
            return (Criteria) this;
        }

        public Criteria andResponseNotIn(List<String> values) {
            addCriterion("paymentorderrecord.Response not in", values, "response");
            return (Criteria) this;
        }

        public Criteria andResponseBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.Response between", value1, value2, "response");
            return (Criteria) this;
        }

        public Criteria andResponseNotBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.Response not between", value1, value2, "response");
            return (Criteria) this;
        }

        public Criteria andErrorMessageIsNull() {
            addCriterion("paymentorderrecord.ErrorMessage is null");
            return (Criteria) this;
        }

        public Criteria andErrorMessageIsNotNull() {
            addCriterion("paymentorderrecord.ErrorMessage is not null");
            return (Criteria) this;
        }

        public Criteria andErrorMessageEqualTo(String value) {
            addCriterion("paymentorderrecord.ErrorMessage =", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ErrorMessage = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andErrorMessageNotEqualTo(String value) {
            addCriterion("paymentorderrecord.ErrorMessage <>", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ErrorMessage <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andErrorMessageGreaterThan(String value) {
            addCriterion("paymentorderrecord.ErrorMessage >", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ErrorMessage > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andErrorMessageGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.ErrorMessage >=", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ErrorMessage >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andErrorMessageLessThan(String value) {
            addCriterion("paymentorderrecord.ErrorMessage <", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ErrorMessage < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andErrorMessageLessThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.ErrorMessage <=", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ErrorMessage <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andErrorMessageLike(String value) {
            addCriterion("paymentorderrecord.ErrorMessage like", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageNotLike(String value) {
            addCriterion("paymentorderrecord.ErrorMessage not like", value, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageIn(List<String> values) {
            addCriterion("paymentorderrecord.ErrorMessage in", values, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageNotIn(List<String> values) {
            addCriterion("paymentorderrecord.ErrorMessage not in", values, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.ErrorMessage between", value1, value2, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andErrorMessageNotBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.ErrorMessage not between", value1, value2, "errorMessage");
            return (Criteria) this;
        }

        public Criteria andResultStatusIsNull() {
            addCriterion("paymentorderrecord.ResultStatus is null");
            return (Criteria) this;
        }

        public Criteria andResultStatusIsNotNull() {
            addCriterion("paymentorderrecord.ResultStatus is not null");
            return (Criteria) this;
        }

        public Criteria andResultStatusEqualTo(Integer value) {
            addCriterion("paymentorderrecord.ResultStatus =", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ResultStatus = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultStatusNotEqualTo(Integer value) {
            addCriterion("paymentorderrecord.ResultStatus <>", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ResultStatus <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultStatusGreaterThan(Integer value) {
            addCriterion("paymentorderrecord.ResultStatus >", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ResultStatus > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultStatusGreaterThanOrEqualTo(Integer value) {
            addCriterion("paymentorderrecord.ResultStatus >=", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ResultStatus >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultStatusLessThan(Integer value) {
            addCriterion("paymentorderrecord.ResultStatus <", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ResultStatus < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultStatusLessThanOrEqualTo(Integer value) {
            addCriterion("paymentorderrecord.ResultStatus <=", value, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.ResultStatus <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andResultStatusIn(List<Integer> values) {
            addCriterion("paymentorderrecord.ResultStatus in", values, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusNotIn(List<Integer> values) {
            addCriterion("paymentorderrecord.ResultStatus not in", values, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusBetween(Integer value1, Integer value2) {
            addCriterion("paymentorderrecord.ResultStatus between", value1, value2, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andResultStatusNotBetween(Integer value1, Integer value2) {
            addCriterion("paymentorderrecord.ResultStatus not between", value1, value2, "resultStatus");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNull() {
            addCriterion("paymentorderrecord.Deleted is null");
            return (Criteria) this;
        }

        public Criteria andDeletedIsNotNull() {
            addCriterion("paymentorderrecord.Deleted is not null");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualTo(Boolean value) {
            addCriterion("paymentorderrecord.Deleted =", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Deleted = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualTo(Boolean value) {
            addCriterion("paymentorderrecord.Deleted <>", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Deleted <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThan(Boolean value) {
            addCriterion("paymentorderrecord.Deleted >", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Deleted > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualTo(Boolean value) {
            addCriterion("paymentorderrecord.Deleted >=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Deleted >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThan(Boolean value) {
            addCriterion("paymentorderrecord.Deleted <", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Deleted < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualTo(Boolean value) {
            addCriterion("paymentorderrecord.Deleted <=", value, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.Deleted <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andDeletedIn(List<Boolean> values) {
            addCriterion("paymentorderrecord.Deleted in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotIn(List<Boolean> values) {
            addCriterion("paymentorderrecord.Deleted not in", values, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedBetween(Boolean value1, Boolean value2) {
            addCriterion("paymentorderrecord.Deleted between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andDeletedNotBetween(Boolean value1, Boolean value2) {
            addCriterion("paymentorderrecord.Deleted not between", value1, value2, "deleted");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("paymentorderrecord.`CreateUser` is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("paymentorderrecord.`CreateUser` is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("paymentorderrecord.`CreateUser` =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.`CreateUser` = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("paymentorderrecord.`CreateUser` <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.`CreateUser` <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("paymentorderrecord.`CreateUser` >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.`CreateUser` > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.`CreateUser` >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.`CreateUser` >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("paymentorderrecord.`CreateUser` <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.`CreateUser` < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.`CreateUser` <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.`CreateUser` <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("paymentorderrecord.`CreateUser` like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("paymentorderrecord.`CreateUser` not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("paymentorderrecord.`CreateUser` in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("paymentorderrecord.`CreateUser` not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.`CreateUser` between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.`CreateUser` not between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("paymentorderrecord.CreateTime is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("paymentorderrecord.CreateTime is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("paymentorderrecord.CreateTime =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CreateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("paymentorderrecord.CreateTime <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CreateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("paymentorderrecord.CreateTime >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CreateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymentorderrecord.CreateTime >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CreateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("paymentorderrecord.CreateTime <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CreateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("paymentorderrecord.CreateTime <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.CreateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("paymentorderrecord.CreateTime in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("paymentorderrecord.CreateTime not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("paymentorderrecord.CreateTime between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("paymentorderrecord.CreateTime not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNull() {
            addCriterion("paymentorderrecord.UpdateUser is null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIsNotNull() {
            addCriterion("paymentorderrecord.UpdateUser is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualTo(String value) {
            addCriterion("paymentorderrecord.UpdateUser =", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateUser = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualTo(String value) {
            addCriterion("paymentorderrecord.UpdateUser <>", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateUser <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThan(String value) {
            addCriterion("paymentorderrecord.UpdateUser >", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateUser > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.UpdateUser >=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateUser >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThan(String value) {
            addCriterion("paymentorderrecord.UpdateUser <", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateUser < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualTo(String value) {
            addCriterion("paymentorderrecord.UpdateUser <=", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateUser <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateUserLike(String value) {
            addCriterion("paymentorderrecord.UpdateUser like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotLike(String value) {
            addCriterion("paymentorderrecord.UpdateUser not like", value, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserIn(List<String> values) {
            addCriterion("paymentorderrecord.UpdateUser in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotIn(List<String> values) {
            addCriterion("paymentorderrecord.UpdateUser not in", values, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.UpdateUser between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateUserNotBetween(String value1, String value2) {
            addCriterion("paymentorderrecord.UpdateUser not between", value1, value2, "updateUser");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("paymentorderrecord.UpdateTime is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("paymentorderrecord.UpdateTime is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("paymentorderrecord.UpdateTime =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateTime = ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("paymentorderrecord.UpdateTime <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateTime <> ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("paymentorderrecord.UpdateTime >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateTime > ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("paymentorderrecord.UpdateTime >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateTime >= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("paymentorderrecord.UpdateTime <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateTime < ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("paymentorderrecord.UpdateTime <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualToColumn(PaymentOrderRecord.Column column) {
            addCriterion(new StringBuilder("paymentorderrecord.UpdateTime <= ").append(column.getEscapedColumnName()).toString());
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("paymentorderrecord.UpdateTime in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("paymentorderrecord.UpdateTime not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("paymentorderrecord.UpdateTime between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("paymentorderrecord.UpdateTime not between", value1, value2, "updateTime");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {
        private PaymentOrderRecordExample example;

        protected Criteria(PaymentOrderRecordExample example) {
            super();
            this.example = example;
        }

        public PaymentOrderRecordExample example() {
            return this.example;
        }

        @Deprecated
        public Criteria andIf(boolean ifAdd, ICriteriaAdd add) {
            if (ifAdd) {
                add.add(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then) {
            if (condition) {
                then.criteria(this);
            }
            return this;
        }

        public Criteria when(boolean condition, ICriteriaWhen then, ICriteriaWhen otherwise) {
            if (condition) {
                then.criteria(this);
            } else {
                otherwise.criteria(this);
            }
            return this;
        }

        public Criteria andLogicalDeleted(boolean deleted) {
            return deleted ? andDeletedEqualTo(PaymentOrderRecord.Deleted.IS_DELETED.value()) : andDeletedNotEqualTo(PaymentOrderRecord.Deleted.IS_DELETED.value());
        }

        @Deprecated
        public interface ICriteriaAdd {
            Criteria add(Criteria add);
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }

    public interface ICriteriaWhen {
        void criteria(Criteria criteria);
    }

    public interface IExampleWhen {
        void example(com.ecoolex.discount.sales.entity.PaymentOrderRecordExample example);
    }
}